import React from 'react';
import {notification} from 'antd';

const openNotification = () => {
  notification.open({
    message: '消息提示',
    description:
      '"按集团进入" 功能并未实现，仅作展示',
    onClick: () => {
      console.log('Notification Clicked!');
    },
    duration: 2.5
  });
};

const NotRealizeNotification: React.FC = () => (
  <a onClick={openNotification}>按集团进入</a>
);

export default NotRealizeNotification;
